<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><%@ page
	language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>
	<h:form>
		<h2><h:outputText
			value="#{comentarios.passeioSelecionadoJSP.nome}"></h:outputText></h2>
		<c:forEach items="#{comentarios.comentariosPasseioJSP}" var="coment">
			<h:outputText value="Deixado por "></h:outputText>
			<h:outputText value="#{coment.cliente.nome}"></h:outputText>
			<p><h:panelGrid border="1" columns="2"
				style="padding-left: 3px; padding-right: 3px; padding-top: 3px; background-color: #BDDCFD; padding-bottom: 3px">
				<h:outputText value="Nota: " style="font-weight: bolder"></h:outputText>
				<h:outputText value="#{coment.nota}">
					<f:convertNumber pattern="#0.0" />
				</h:outputText>
			</h:panelGrid>
			<h4><h:outputText value="Comentario:"></h:outputText></h4>
			<div style="background-color: #BDDCFD; padding: 3px; border: 2px">
			<h:outputText value="#{coment.descricao}"></h:outputText></div>
			<!--div style="background-color: #cccccc; width: 828px; padding-left: 3px; padding-right: 3px; border-bottom-width: 1px; padding-top: 3px; cursor: text; padding-bottom: 3px; border-top-width: 1px; border-right-width: 1px; border-left-width: 1px">
				<--h:inputTextarea value="{coment.descricao}" style="height: 97px; width: 817px"><--/h:inputTextarea>
			</div> !-->
			<hr style="background-color: #808080; height: 5px">
			<p>
		</c:forEach>
		<p><h:commandButton value="voltar" action="voltarExibirComentario"></h:commandButton></p>
	</h:form>
</f:view>
</body>
</html>